package com.sjy.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.sjy.bean.User;

public interface userdao extends JpaRepository<User, Long> {
	
	public User findByUsername(String name);
	
	
	public User  findByOpenId(String openId);
}
